<?php include 'views/header-login.php';?>



<section id="content" role="main">

    <div id="login-panel" class="aui-page-panelindra-one-wide"
         style="max-width: 250px;padding: 30px;margin: 0 auto;background: #fff;margin-top:40px;">
        <header class="indra-header aui-page-header" style="padding-bottom:10px;">
            <div class="aui-page-header-inner">
                <div class="aui-pageheader-main">
                    <h1>登&nbsp;录 &nbsp;</h1><span style="font-size:14px;font-family:微软雅黑;padding-left:2px;">Log&nbsp;&nbsp;in</span>
                    <p><a href="/"></a></p>
                </div>
            </div>
        </header>

        <div class="aui-group indra-login-method ">
            <div class="aui-item indra-login-item indra-login-crowd">

                <form id="form-crowd-login" class="aui top-label "
                      autocapitalize="off" autocorrect="off" data-login-type="crowd" method="POST">

                    <div class="field-group" id="username-field">
                        <label for="username">邮箱/手机号/用户名 </label>

                        <input type="text" name="1" type="text" value="<?php echo $_COOKIE['username'];?>"  id="username" class="text full-width-field" placeholder="Email address / Username" autofocus="autofocus">

                    </div>

                    <div class="field-group" id="password-field">
                        <label for="password">请输入你的密码</label>
                        <input type="password" name="2" type="password" value=""  id="password" class="password full-width-field" placeholder="Password">

                    </div>

                    <div class="buttons-container">
                        <div class="buttons">
                            <button name="3" type="submit" id="login_submit" class="aui-button aui-button-primary"> 登 录 </button>
                        </div>
                    </div>


                    <div class="field-group">
                        <div class="checkbox">
                            <span class="s2"><input type="checkbox" value="1" id="remember" <?php echo $_COOKIE['remember'] == 1?"checked='checked'":""?>/>记住用户名</span>
                        </div>
                    </div>

                    <p class="lab_t" id="msg_show"></p>


                    <p class="indra-signup" style="display:none;">
                        <a href="/login/forgot" id="forgot" name="forgot">Unable to access your account?</a><br />
                        <span id="signup-disabled">To request an account, please contact your site administrators.</span>
                        <span id="signup-enabled">
                            <a href="/admin/users/sign-up">Create an account</a>
                          </span>
                    </p>

                    <input type="hidden" id="dest-url" name="dest-url" value="" />

                    <input type="hidden" id="xsrf" name="xsrf" value="" />

                </form>
            </div>




        </div>
    </div>

</section>


  <div id="login" style="display:none;">
       <div class="login_top">
       <p><a href="" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage(window.location.href);">设为首页</a> | <a href="" id="collect">收藏</a> | <a href="#">帮助</a></p>
    </div>
       <div  class="login_box">
           <div class="login_con">
               <p class="lab"><b>管理登录</b></p>
               <p class="lab">
               		<span class="text_bg">
               			<label for="username" id="nameprev">邮箱/手机号/用户名</label>
               			<!--<input name="1" type="text" value="<?php /*echo $_COOKIE['username'];*/?>"  id="username" />-->
                        <input type="text" name="1" type="text" value="<?php echo $_COOKIE['username'];?>"  id="username" class="text full-width-field" placeholder="Email address / Username" autofocus="autofocus">
               		</span>
               </p>
               <p class="lab">
               		<span class="text_bg">
	               		<label for="password" id="pwdprev">请输入你的密码</label>
	               		<!--<input name="2" type="password" value=""  id="password" />-->
                        <input type="password" name="2" type="password" value=""  id="password" class="password full-width-field" placeholder="Password">
               		</span>
               </p>
               <p class="lab">
               		<span class="s1">
                        <!--<input name="3" type="button" value="" class="login_b pointer" />-->
                        <button name="3" type="submit" id="login_submit" class="aui-button aui-button-primary"> 登 录 </button>
                    </span>
               		<span class="s2"><input type="checkbox" value="1" id="remember" <?php echo $_COOKIE['remember'] == 1?"checked='checked'":""?>/>记住用户名</span>
               	</p>
               <p class="lab_t" id="msg_show">欢迎来到 ETM-M 管理后台！</p>
           </div>
           <div class="clearfloat"></div>
           <!--<p class="login_last">版权所有：EastMoney | 东方财富 | ETM 运维开发组 </p>-->
       </div>
  </div>
  <div style="clear:both;"></div>

<?php include 'views/footer.php';?>
